#include "common.h"

/*--------------------------------------------------------------------------------------------*/
// global debugging log
OutputTarget*   _gLogFile = NULL;
_declspec(dllexport) OutputLog _gLog;
OutputLog&      gLog = _gLog;

/*--------------------------------------------------------------------------------------------*/
// global interfaces and handles
PluginHandle                    g_pluginHandle          = kPluginHandle_Invalid;    // identifier for this plugin, for internal use by obse
const OBSEInterface*            g_obseIntfc             = NULL; // master obse interface, for generating more specific intefaces below
OBSEArrayVarInterface*          g_arrayIntfc            = NULL; // obse array variable interface
OBSEStringVarInterface*         g_stringIntfc           = NULL; // obse string variable interface
OBSEScriptInterface*            g_scriptIntfc           = NULL; // obse script interface
OBSECommandTableInterface*      g_cmdIntfc              = NULL; // obse script command interface
OBSESerializationInterface*     g_serializationIntfc    = NULL; // obse cosave serialization interface
OBSEMessagingInterface*         g_messagingIntfc        = NULL; // obse inter-plugin messaging interface
HMODULE                         g_hExportInjector       = 0;    // windows module handle for ExportInjector library
HMODULE                         g_hSubmodule            = 0;    // windows module handle for submodule dll
SubmoduleInterface*             g_submoduleInfc         = NULL; // submodule interface
CSEInterface*                   g_cseIntfc              = NULL; // CSE master interface, if CSE is present
CSEConsoleInterface*            g_cseConsoleInfc        = NULL; // CSE console interface
